package com.me.study.dao;

import org.springframework.context.annotation.Profile;
import org.springframework.stereotype.Repository;


/**
 * 测试 @Profile
 *
 * @author ME
 * @date   2019/9/26
 */
@Repository
@Profile("qqq")
public class IndexDaoImpl3 implements IndexDao {

	public IndexDaoImpl3() {
		try {
			Thread.sleep(3000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
	}

	@Override
	public void query() {
		System.out.println("dao3.query()");
	}
}
